﻿using DotNetMVC.OA.IDAL;
using System.Configuration;
using System.Reflection;


namespace DotNetMVC.OA.DALFactory
{
    public partial class StaticDalFactory
    {
        public static string assemblyName = ConfigurationManager.AppSettings["DalAssemblyName"];

        #region T4 模板生成
        //public static IUserInfoDal GetUserInfoDal()
        //{
        //    return Assembly.Load(assemblyName).CreateInstance(assemblyName + ".UserInfoDal") as IUserInfoDal;
        //} 
        #endregion
    }
}
